{extend name="common/base_layout" /}

{block name="sign-box"}
<li class="sign-li">
    <a href="/"  title="首页">
        <b>首页</b>
    </a>
</li>
<li class="sign-li active">
    <a href="{:url('/case')}"  title="全部">
        <b>全部</b>
    </a>
</li>
{foreach $siteIndustryList as $siteIndustry}
<li class="sign-li ">
    <a href="{:url('frontend/Sitecase/lists', ['industry_id' => $siteIndustry['id']])}"  title="{$siteIndustry['industry_name']}">
        <b>{$siteIndustry['industry_name']}</b>
    </a>
</li>
{/foreach}
{/block}

{block name="content"}
<div class="side-content ">

    <div class="banner-sub auto not-has" data-height="420|350|200">

    </div>

    <div class="side-html">

        <div class="side-body swiper-lazy" data-background="__STATIC__/upload/201707/1500274209.jpg">

            <div class="met-product animsition type-0">
                <div class="container">
                    <div class="row">
                        <ul class="blocks-2 blocks-sm-2 blocks-md-3 blocks-xlg-4  met-page-ajax met-grid" id="met-grid" data-scale='0.7182320441989'>

                            {foreach $caseList as $key=>$siteIndustry}
                            <li class="product-li margin-bottom-0"></li>
                            <li class="product-li-first shown">
                                <h1>~ {$siteIndustry.industry_name} ~</h1>
                                <p>{$siteIndustry.description}</p>
                                <span class="btn-default">
                                    <a class="click-box" title="APP开发" href="{:url('frontend/Sitecase/lists', ['industry_id' => $siteIndustry['id']])}">
                                        <span>READ MORE</span>
                                    </a>
                                </span>
                            </li>
                            {notempty name="siteIndustry.cases"}
                            {foreach $siteIndustry.cases as $vo}
                            <li class=" product-li shown">
                                <a href="{:url('frontend/Sitecase/show', ['case_id' => $vo['id']])}" title="{$vo.site_name}" target='_blank'>
                                    <font>
                                        <img class="swiper-lazy" alt="{$vo.site_name}" data-src='{$vo.site_image|quick_pic_thumb="@543w_390h"}'>
                                    </font>
                                    <span><b>{$vo.site_name}</b></span>
                                </a>
                                <p class="met-img-showbtn" data-imglist="{$vo.site_name}*{$vo.site_image|quick_pic_thumb='@543w_390h'}">+</p>
                            </li>
                            {/foreach}
                            {/notempty}
                            {/foreach}

                        </ul>
                    </div>
                </div>

            </div>

            <!--引入 footer-->
            {include file="common/footer" /}

            <input type="hidden" name="lazyloadbg" value="base64">

        </div>
    </div>
    <div class="side-scroll swiper-scrollbar"></div>
</div>
{/block}